<!-- BEGIN: main -->
    <div id="content" class="grid_9">
	      <h1 class="page_title">{TITLE}</h1>
			<div class="product_page">
				<div class="grid_4 img_slid" id="products">
					<div class="preview slides_container">
						<div class="prev_bg">
							<a class="jqzoom" rel="gal1" href="{SRC_PRO_LAGE}">
								<img src="{SRC_PRO_LAGE}"  style="width: 100%" title="" alt=""/>
							</a>
						</div>
					</div>
					<ul class="pagination clearfix" id="thumblist">
					<li><a class="zoomThumbActive" href='javascript:void(0);' rel="{gallery: 'gal1', smallimage: '{SRC_PRO_LAGE}',largeimage: '{SRC_PRO_LAGE}'}"><img src='{SRC_PRO_LAGE}' alt=""></a></li>
						<!-- BEGIN: othersimg -->	
	<li><a href='javascript:void(0);' rel="{gallery: 'gal1', smallimage: '{IMG_SRC_OTHER}',largeimage: '{IMG_SRC_OTHER}'}"><img src='{IMG_SRC_OTHER}' alt=""></a></li>
						<!-- END: othersimg -->	
					</ul>
					<div class="next_prev">
						<a id="img_prev" class="arows" href="#"><span>Prev</span></a>
						<a id="img_next" class="arows" href="#"><span>Next</span></a>
					</div>
				</div>
				<!-- ke thuc slide -->
			<div class="grid_5">
				<div class="entry_content">
					<!-- BEGIN: allowed_rating -->
						<div class="review">
						<span class="div_rate" >
							<a class="rate" title="1 điểm" style="color:#fff;" href="#" >1</a>
							<a class="rate" title="2 điểm"style="color:#fff;" href="#">2</a>
							<a class="rate" title="3 điểm"style="color:#fff;" href="#">3</a>
							<a class="rate" title="4 điểm"style="color:#fff;" href="#">4</a>
							<a class="rate" title="5 điểm"style="color:#fff;" href="#">5</a>
							</span>
							<span>{RATE} {LANG.detail_rate_math}</span>
							
						</div>
					<!-- END: allowed_rating -->
						<!-- BEGIN: hometext -->
							<p>{hometext}</p>
						<!-- END: hometext -->
					<div class="ava_price">
						<div class="availability_sku">
							<!-- BEGIN: product_code -->
							<div class="sku">{LANG.product_code}<span>:{PRODUCT_CODE}</span></div>
							<!-- END: product_code -->
							<!-- BEGIN: source -->
								<div class="sku"> {LANG.detail_source}<span> :{source}</span></div>
							<!-- END: source -->
							
							<!-- BEGIN: promotional -->
								  <div class="sku"> {LANG.detail_promotional}<span> : {promotional}</span></div>
							<!-- END: promotional -->
							
							<!-- BEGIN: warranty -->
								  <div class="sku"> {LANG.detail_warranty}<span> : {warranty}</span></div>
							<!-- END: warranty -->
							
							<!-- BEGIN: address -->
								  <div class="sku"> {LANG.detail_product_address}<span> : {address}</span></div>
							<!-- END: address -->
							
							<!-- BEGIN: note -->
								  <div class="sku"> {LANG.cart_note}<span> : {note}</span></div>
							<!-- END: note -->
							<!-- BEGIN: adminlink -->
							<div class="fl">{ADMINLINK}</div>
					<!-- END: adminlink -->
					<div class="block_cart">
						<div class="obn_like">
							
						</div>
					<!-- BEGIN: order -->
						<div class="cart">
							<a href="javascript:void(0)" id="{proid}" title="{LANG.add_product}" onclick="cartorder_detail(this)" class="bay">{LANG.add_product}</a>
							<input type="text" name="num" value="1" class="number" id="pnum">
							<span>Quantity:</span>
						</div>
					<!-- END: order -->
						<div class="clear"></div>
					</div><!-- .block_cart -->
						</div>

						<div class="price">
						<!-- BEGIN: price -->
							
						<!-- BEGIN: contact -->
						<div class="price_new">
						{LANG.detail_pro_price}: <span>{LANG.price_contact}</span></div>
						<!-- END: contact -->			
						<div class="productprice">
									<!-- BEGIN: discounts -->
									<div class="price_new">{product_discounts} {money_unit}</div>
									<!-- END: discounts -->
									<div class="{class_money}" >{product_price} {money_unit}</div>
								
						</div>
						<!-- END: price -->
						{TTH}
					</div>
					
					
				</div><!-- .entry_content -->

			</div><!-- .grid_5 -->
			</div>
			<div class="clear"></div>
			<br><br>
			<div class="grid_9">
                                <ul class="nav nav-tabs">
                                    <li class="active"><a href="#detail" data-toggle="tab">{LANG.product_detail}</a> </li>
                                    <li><a href="#comments" data-toggle="tab">
									<!-- BEGIN: comment_tab -->
									{LANG.detail_comments}
									<!-- END: comment_tab --></a> </li>
									  <li><a href="#faceb" data-toggle="tab">{LANG.detail_comments} Facebook 
									  (<fb:comments-count href={NV_BASE_SITEURL}{link_f}></fb:comments-count>)
									  </a> </li>
                                    <li><a href="#review" data-toggle="tab">{LANG.detail_others}</a> </li>
                                   <li><a href="#review_other" data-toggle="tab">{LANG.detail_others_view}</a> </li>
                                </ul>
                                <div class="tab-content">
                                    <div class="tab-pane active" id="detail">
                                        {DETAIL}
                                    </div>
                                    <div class="tab-pane " id="comments">
                                       <!-- BEGIN: comment -->
				<div class="Page">
					<div class="prd_rate">
					<div id="showcomment">{COMMENTCONTENT}</div>
						<!-- BEGIN: form -->
						<form class="comment" action="" onsubmit="return false;">
								<input type="hidden" value="{proid}" name="proid" id="proid" />
									<fieldset>
										<span id="charlimitinfo">{LANG.comment_limit_characters}</span>
											<textarea id="commentcontent" rows="5" name="commentcontent" style="width:90%"></textarea>
												<div class="fl clearfix">
													<label for="captcha">
															{LANG.comment_capcha}
													</label>
														<img height="22" name="vimg" src="{NV_BASE_SITEURL}?scaptcha=captcha" title="{LANG.captcha}" alt="{LANG.captcha}" id="vimg" />
														<input type="text" maxlength="{NV_GFX_NUM}" value="" id="commentseccode_iavim" name="fcode" style="width:60px"/>
														<input type="button" value="Reset" class="button" onclick="nv_change_captcha('vimg','commentseccode_iavim');" />
														<input onclick="sendcommment('{proid}','{COMMENT_CHECKSESS}','{NV_GFX_NUM}')" type="button" value="{LANG.comment_send}" id="buttoncontent" class="button"/>
												</div>
										<div>
											
										</div>
									</fieldset>
						</form>
						<!-- END: form -->
						<!-- BEGIN: form_login -->
						<p>{COMMENT_LOGIN}</p>
						<!-- END: form_login -->
						
					</div>
				</div>
				<!-- END: comment -->
                                    </div>
							<div class="tab-pane" id="faceb">
							<div class="fb-comments" data-href="{NV_BASE_SITEURL}{link_f}" data-width="600"></div>
							</div>
                                    <div class="tab-pane" id="review">
                                        <!-- BEGIN: other -->
											{OTHER}
											<!-- END: other -->
                                    </div>
									<div class="tab-pane" id="review_other">
                                        <!-- BEGIN: other_view -->
											{OTHER_VIEW}
											<!-- END: other_view -->
                                    </div>
                                   
                                </div>
			</div>
		</div>

       </div> 
<div class="msgshow" id="msgshow"></div>
<script type="text/javascript">
	$(function(){
		<!-- BEGIN: allowed_print_js -->
		$('#click_print').click(function(event){
			var href = $(this).attr("href");
			event.preventDefault();
			NewWindow(href, '', '640', '500', 'yes');
			return false;
		});
		<!-- END: allowed_print_js -->
		<!-- BEGIN: allowed_rating_js -->
		$("a.rate").click(function(event){
			event.preventDefault();
			var val = $(this).html();
			$.ajax({
				type: "POST",
				url: '{LINK_RATE}'+'&nocache=' + new Date().getTime(),
				data: 'val=' + val,
				success: function(data){
					var s = data.split('_');
					alert(s[1]);
				}
			});
			return false;
		});
		<!-- END: allowed_rating_js -->
	});
</script>
<!-- END: main -->